package com.test.test.dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.test.test.entity.Role;
import com.test.test.entity.User;

public interface RoleRepos extends JpaRepository<Role, Integer>{

	Page<User> findByRoleName(String roleName, Pageable pageable);
}
